package com.leen.dto;

import com.leen.common.dto.PageDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.persistence.Column;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 管理员带条件查询
 *
 * @author admin
 * @date 2021-04-21
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "管理员查询条件")
public class AdminDTO extends PageDTO implements Serializable {

    /**
     * 用户账号
     */
    @ApiModelProperty(value = "用户账号模糊查询")
    private String loginName;

    /**
     * 手机号码
     */
    @ApiModelProperty(value = "手机号码等值查询")
    private String  mobile;

    @ApiModelProperty(value = "帐号状态（0正常 1停用）",example = "0")
    private Integer status=0;


}
